import type { Router } from 'vue-router';
import afterEach from './after-each';
import beforeEach from './before-each';

export default function registerGuard(router: Router) {
  afterEach(router);
  beforeEach(router);
}
